#include"comment.hpp"

int main()
{
    createFifo(NAMED_PIPE);


    int rfd = open(NAMED_PIPE,O_RDONLY);
    if(rfd < 0) exit(1); 
    char buffer[1024];
    read(rfd,buffer,sizeof(buffer)-1);
    std::cout<<buffer<<std::endl;

    close(rfd);
    return 0;
}
